Skip to content

fix(@schematics/angular): add missing property "buildTarget" to interface "ServeBuilderOptions"#26694

Merged
dgp1130 merged 1 commit intoangular:mainfrom
Platonn:fix/GH-26693
Dec 21, 2023
Merged

fix(@schematics/angular): add missing property "buildTarget" to interface "ServeBuilderOptions"#26694
dgp1130 merged 1 commit intoangular:mainfrom
Platonn:fix/GH-26693

Conversation

@Platonn
Copy link
Copy Markdown
Contributor

@Platonn Platonn commented Dec 16, 2023

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

The interface ServeBuilderOptions from @schematics/angular/utility/workspace-model is missing the property buildTarget

Issue Number: #26693

What is the new behavior?

The interface ServeBuilderOptions from @schematics/angular/utility/workspace-model now has the the property buildTarget. It's optional to avoid a breaking change, until the next major.

Note: I've left the obsolete browserTarget required property to avoid a breaking change. IMHO it's should be removed in the next major. But I marked the browserTarget property as @deprecated.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@clydin clydin added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Dec 21, 2023
@dgp1130 dgp1130 merged commit aec581d into angular:main Dec 21, 2023
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants